/*
 * @Author: yuelei 
 * @Date: 2018-05-10 21:40:14 
 * @Last Modified by: Yuelei
 * @Last Modified time: 2018-05-13 16:37:29
 */
import request from '../utils/request'

export async function query() {
    return request('/api/class/list')
}
export async function add(params) {
    return request('/api/class/add',{method:'POST',body:params})
}
export async function remove(params) {
    return request('/api/class/delete',{method:'POST',body:params})
}